@import "~antd/es/style/variable.less";

html,
body,
#root {
  height: 100%;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ant-descriptions-item-content{
  width: 100% !important;
  display: block !important;
}
ul,
ol {
  list-style: none;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

// Compatible with IE11
@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
  body .ant-design-pro > .ant-layout {
    min-height: 100vh;
  }
}

.react-resizable {
  position: relative;
}

.react-resizable-handle {
  position: absolute;
  right: -5px;
  bottom: 0;
  z-index: 999;
  width: 10px;
  height: 100%;
  background: transparent;
  cursor: col-resize;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ant-pro-global-footer-copyright {
  * {
    color: #fff !important;
  }
}
#mains {
  .ant-form-item {
    color: #fff;
    background-color: transparent !important;
    * {
      color: #fff;
      background-color: transparent !important;
    }
    input {
      color: #92e4ff;
      background-color: rgba(0, 0, 0, 0) !important;
      &::-webkit-input-placeholder {
        color: #0093d8;
      }
      &:focus {
        outline: none;
        box-shadow: none !important;
      }
    }
    .ant-input-password-icon,
    .ant-input-clear-icon {
      color: #92e4ff !important;
    }
    input:-webkit-autofill,
    input:-internal-autofill-selected,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus {
      outline: none;
      box-shadow: 0 0 0 60px #1b1f51 inset !important;
      -webkit-text-fill-color: #92e4ff !important;
    }
  }
}
